<include file="Common:head"/>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/Index/css/shopbus.css">
	<script type="text/javascript" src='__PUBLIC__/Index/js/shopbus.js'></script>
	<script type="text/javascript">
		var PUBLIC="__PUBLIC__/Index/";
		var order="{:U('Order/index')}";
		var check_login="{:U('check_login')}";
	</script>
</head>
<body>
	<div id='box'>
		<div id='shop_bus_banner'>
			<div id='logo'><img src='__PUBLIC__/Index/images/snlogo.png'/></div>
			<div id='shop_menu'>
			</div>
			<p>正品行货，全国联保，尽享购物乐趣 ！</p>
		</div>
		<div id='shop_content'>
			<?php if(!isset($_SESSION['car'])):?>
			<div id='shop_bus_pic'></div>
			<div id='shop_text'>
			    <h4>您的购物车还是空的，赶紧行动吧！您可以：</h4> 
			    <p>您还未登录，可能导致购物车为空，请<a href=''>马上登录 </a></p>
			    <p> 马上去 <a href=''>随便逛逛</a></p>
			</div>
			<?php else:?>
			<table/>
			<tr>
				<th><input type='checkbox'name='all'/>全选</th>
				<th>商品信息</th>
				<th>易购价</th>
				<th>数量</th>
				<th>操作</th>
			</tr>
			<foreach name='data' item='v'>
				<tr>
					<td><input type='checkbox' checked='checked'/></td>
					<td style="text-align:left;"><a class='pic_txt' href='#' title="{$v.name}({$v.guige})"><img with='50px' height='50px' src="__ROOT__/Uploads/List/{$v.listpic}"/></a><a class='pic_txt' href="{:U('Show/index',array('id'=>$v['gid']))}" title="{$v.name}({$v.guige})">{$v.name}({$v.guige})</a></td>
					<td class='price'>¥{$v.price|number_format=2}</td>
					<td><a title='减一件' class='down' href="{:U('editCar',array('lid'=>$v['lid'],'type'=>1))}">-</a><input type='readonly' value='{$v.num}' name='count'/><a title='加一件' class='add' href="{:U('editCar',array('lid'=>$v['lid'], type=>2))}">+</a></td>
					<td><a class='del' href="{:U('editCar',array('lid'=>$v['lid'],'type'=>3))}">删除</a></td>
				</tr>
			</foreach>
			<tr><td colspan='5'>
				<div id='pay'>
					<a class='kong' href="{:U('editCar',array('type'=>4))}">清空购物车</a>
					<div id='zonghe'>
						<p><b>商品总金额：</b><b class='allprice'>¥{$allprice|number_format=2}</b></p>
						<p><a href='#' class='go_on'><<继续购物</a><a class='gopay'></a></p>
					</div>
				</div>
			</td></tr>
			</table>
			<?php endif;?>
		</div>
		<div id='tehui_box'>
			<div id='tehui_banner'>
				<ul>
					<li>易购特惠</li>
					<li class='shoucang'>我的收藏</li>
				</ul>
			</div>
			<div id='tehui_content'>
				<ul>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000102571954_ls1.jpg'/></a>
						<p><a href=''>TOSHIBA MSD-C16-NR-TW CLASS 4 MICRO SDHC CARD  </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000103326132_ls1.jpg'/></a>
						<p><a href=''>九维液晶（平板）通用型电视挂架SN6073MF   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
					<li>
						<a href=''><img src='__PUBLIC__/Index/images/000000000101360127_ls1.jpg'/></a>
						<p><a href=''>尼康数码单反相机D3100KIT（AF-S DX   </a></p>
						<p><span>¥64.00</span><a class='gouwu_btn'>加入购物车</a></p>
					</li>
				</ul>
				<div id='control_btn'><span class='btn_first'>1</span><span>2</span><span>3</span></div>
			</div>
			<div id='shoucang_box'>
				<p>请点击此处<a href=''>登录</a>以方便查看你收藏的商品。</p>
			</div>
		</div>
	</div>

	<!--弹出登录框-->
	<div id='login' style="z-index:700">
		<div id='login_title'><h2>您尚未登录苏宁易购</h2><span class='close'>X</span></div>
		<div id='login_banner'><a class='deng'>登录</a><a>注册</a></div>
		<div id='login_content'>
			<form method='post' action="{:U('Car/login')}">
				<p>用户名：<input type='text' name='username'/></p>
				<p>密&nbsp;&nbsp;码：<input type='password' name='pwd'/></p>
				<p>验证码：<input type='text' name='verify' class='verify'/><span class='code_img'><img src="{:U('verify')}"/>换一换</span></p>
				<p><input type='submit' class='deng_btn' value='登录'><a href=''>忘记密码？</a></p>
			</form>
		</div>
	</div>
	<div></div>
<include file="Common:foot"/>